09. Quizzes: Mockito and Matchers

Quizzes: Mockito and Matchers

For which Test Doubles can a Mockito Mock perform the same behaviors?

SOLUTION:
  • Dummy
  • Stub
  • Spy
  • Mock

What's a reason you might use a Mockito Spy?

SOLUTION: You need to verify that a certain method is called on the tested class.